# gurren globals
from fastapi import (
    FastAPI)

from fastapi.middleware.cors import CORSMiddleware 
import httpx

app = FastAPI()
app.add_middleware(
    CORSMiddleware, 
    # allow_origins=["*"],
    allow_origin_regex='.*',
    allow_credentials=False,
    allow_methods=["*"],
    allow_headers=["*"],
)

ahttpx = httpx.AsyncClient()  # they recommed global instance for connection pooling
